<template>
  <div class="header">
    <p>叩丁狼商品管理系统 <i class="el-icon-menu"></i></p>
    <el-dropdown trigger="click">
      <span class="el-dropdown-link">
        admin<i class="el-icon-arrow-down el-icon--right"></i>
      </span>
      <el-dropdown-menu slot="dropdown">
        <el-dropdown-item>退出登录</el-dropdown-item>
      </el-dropdown-menu>
    </el-dropdown>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>
 
<style lang = "less" scoped>
.header {
  width: 100%;
  box-sizing: border-box;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background-color: #409eff;
  padding: 0 15px;
  p {
    font-size: 22px;
    i {
      margin-left: 10px;
      font-size: 20px;
    }
  }
}
.el-dropdown-link {
  cursor: pointer;
  color: #fff;
}
</style>